package com.kingdee.eas.wzgzw.base;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class OrganizationFactory
{
    private OrganizationFactory()
    {
    }
    public static com.kingdee.eas.wzgzw.base.IOrganization getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.wzgzw.base.IOrganization)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("8C35310B") ,com.kingdee.eas.wzgzw.base.IOrganization.class);
    }
    
    public static com.kingdee.eas.wzgzw.base.IOrganization getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.wzgzw.base.IOrganization)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("8C35310B") ,com.kingdee.eas.wzgzw.base.IOrganization.class, objectCtx);
    }
    public static com.kingdee.eas.wzgzw.base.IOrganization getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.wzgzw.base.IOrganization)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("8C35310B"));
    }
    public static com.kingdee.eas.wzgzw.base.IOrganization getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.wzgzw.base.IOrganization)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("8C35310B"));
    }
}